const express = require('express');
const router = express.Router();
const loginCheck = require('../middleware/loginCheck');

/* GET home page. */
router.get('/',loginCheck, function(req, res, next) {
  res.render('login', { title: '登陆' });
});

module.exports = router;
